package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.bean.PageRes;
import com.example.demo.bean.sysuser.SysUserDO;
import com.example.demo.dto.sysuser.*;

public interface ISysUserService extends IService<SysUserDO> {

    /**
     * 登录
     * @param loginReqVO
     * @return
     */
    public LoginRepVO login(LoginReqVO loginReqVO);

    public PageRes<SysUserDO> list(SysUserPageReqVO sysUserPageReqVO);

    public int addSysUser(SysUserDO sysUserDO);

    public int updateSysUser(SysUserDO sysUserDO);

    public int deleteSysUser(Long userIds);

    public SysUserDO getSysUser(SysUserDO sysUserDO);

    public int changeSysUserStatus(SysUserDO sysUserDO);

    public int resetPwd(SysUserDO sysUserDO);

    public int modifyPwd(ModifyPwdReqVO modifyPwdReqVO);

    public int modifyAvatar(ModifyAvatarReqVO modifyAvatarReqVO);
}
